package com.ruoyi.business.domain.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.business.domain.dto.DeviceDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lxy
 * @date 2024/2/4
 */
@NoArgsConstructor
@Data
public class BinghuDeviceListResponse {
    @JsonProperty("state")
    private Integer state;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("total")
        private Integer total;
        @JsonProperty("list")
        private List<DeviceDTO> list;
    }
}
